package getterSet2;

public class Car {
	private String name;
	private char color;
	private double pai;
	private String xing;
	public void setName(String n) {
		name = n;
	}

	public String getName() {
		return name;
	}

	public void setColor(char au) {
		color = au;
	}

	public char getColor() {
		return color;
	}

	public void setPai(double t) {
		pai = t;
	}

	public double getPai() {
		return pai;
	}

	public void setXing(String p) {
		xing = p;
	}

	public String getXing() {
		return xing;
	}
}
